import { Boolean, Cover, CreateDate, Decimal, Digdit, DisplayOrder, Entity, PrimaryUuid, Title, UpdateDate } from '@sker/core'
@Entity({
    name: 'wx_member_level'
})
export class MemberLevel {
    @PrimaryUuid({
        primaryKeyConstraintName: "PK_WX_MEMBER_LEVEL_ID"
    })
    id: string;

    @Title({ label: '等级名称' })
    title: string;

    @Cover({ label: '等级图标' })
    icon: string;

    @Decimal({ label: '折扣' })
    discount: number;

    @Digdit({ label: '升级经验' })
    min: number;

    @Boolean({ label: '默认等级', default: false })
    is_default: boolean;

    @DisplayOrder({ label: '顺序' })
    displayorder: number;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}